package com.sokal.easycare.modules.kpoint.service.after;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sokal.easycare.common.persistence.Page;
import com.sokal.easycare.common.service.CrudService;
import com.sokal.easycare.modules.kpoint.dao.after.KPointAftermarketDao;
import com.sokal.easycare.modules.kpoint.entity.after.KPointAftermarket;

/**
 * 维修保养点Service
 * @author lihaipei
 * @version 2017-05-17
 */
@Service
@Transactional(readOnly = true)
public class KPointAftermarketService extends CrudService<KPointAftermarketDao, KPointAftermarket> {

	public KPointAftermarket get(String id) {
		return super.get(id);
	}
	
	public List<KPointAftermarket> findList(KPointAftermarket kPointAftermarket) {
		return super.findList(kPointAftermarket);
	}
	
	public Page<KPointAftermarket> findPage(Page<KPointAftermarket> page, KPointAftermarket kPointAftermarket) {
		return super.findPage(page, kPointAftermarket);
	}
	
	@Transactional(readOnly = false)
	public void save(KPointAftermarket kPointAftermarket) {
		super.save(kPointAftermarket);
	}
	
	@Transactional(readOnly = false)
	public void delete(KPointAftermarket kPointAftermarket) {
		super.delete(kPointAftermarket);
	}
	
}